package com.adcc.loadsheet.billing.service;

import com.adcc.loadsheet.billing.entity.chargerule.BillingLadderEntity;
import com.adcc.loadsheet.billing.entity.contractuser.ContractUserEntity;
import com.adcc.loadsheet.billing.vo.chargebill.ChargeBillVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 收费账单Service
 * Created by zhaoml on 2020/4/20.
 */
public interface ChargeBillService {

    //查询收费账单
    ChargeBillVO getChargeBill(String startDate, String endDate, ContractUserEntity contractUserEntity, List<BillingLadderEntity> billingLadderEntityList);

    //查询收费账单
    ChargeBillVO getChargeBill(Integer loadsheetnum,Integer passgerlistnum,Integer repeatnum,Integer ruleRate,
                                      String startDate, String endDate,
                                      ContractUserEntity contractUserEntity, List<BillingLadderEntity> billingLadderEntityList);

    //导出word
    String word(String startDate,String endDate,Integer contractUserId,HttpServletResponse response) throws Exception;

    //导出pdf
    String pdf(String startDate,String endDate,Integer contractUserId,HttpServletResponse response) throws Exception;

    //打印
    void print(String startDate,String endDate,Integer contractUserId,HttpServletResponse response);
}